package com.qianniu.napi.admin.entity;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 *
 * </p>
 *
 * @author chenxuebin
 * @since 2019-03-21
 */
@TableName("t_share_open")
public class ShareOpen extends Model<ShareOpen> {

	private static final long serialVersionUID = 1L;

	@TableId(value="id", type= IdType.AUTO)
	private Long id;
	private Long shareid;
	private String ori;
	private String path;
	private String pathguid;
	private String groupid;
	private String openid;
	private Date createtime;
	private Integer scene;
	private Integer isnew;
	private String zguid;
	private Long zuid;
	private String guid;
	private Long uid;
	private Long mid;
	private Long mpid;

	private Long sid;
	private Long leagueid;

	private String md5;
	private Integer iotype;
	private Long visitstamp;
	private Long timelong;

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getPath() {
		return path;
	}

	public void setPath(String path) {
		this.path = path;
	}

	public String getGroupid() {
		return groupid;
	}

	public void setGroupid(String groupid) {
		this.groupid = groupid;
	}

	public String getOpenid() {
		return openid;
	}

	public void setOpenid(String openid) {
		this.openid = openid;
	}

	public Date getCreatetime() {
		return createtime;
	}

	public void setCreatetime(Date createtime) {
		this.createtime = createtime;
	}

	public Long getMid() {
		return mid;
	}

	public void setMid(Long mid) {
		this.mid = mid;
	}

	public Long getMpid() {
		return mpid;
	}

	public void setMpid(Long mpid) {
		this.mpid = mpid;
	}

	public Long getShareid() {
		return shareid;
	}

	public void setShareid(Long shareid) {
		this.shareid = shareid;
	}

	public String getGuid() {
		return guid;
	}

	public void setGuid(String guid) {
		this.guid = guid;
	}

	public Long getUid() {
		return uid;
	}

	public void setUid(Long uid) {
		this.uid = uid;
	}

	public String getPathguid() {
		return pathguid;
	}

	public void setPathguid(String pathguid) {
		this.pathguid = pathguid;
	}

	public String getZguid() {
		return zguid;
	}

	public void setZguid(String zguid) {
		this.zguid = zguid;
	}

	public Long getZuid() {
		return zuid;
	}

	public void setZuid(Long zuid) {
		this.zuid = zuid;
	}

	public Integer getScene() {
		return scene;
	}

	public void setScene(Integer scene) {
		this.scene = scene;
	}

	public String getOri() {
		return ori;
	}

	public void setOri(String ori) {
		this.ori = ori;
	}

	public Integer getIsnew() {
		return isnew;
	}

	public void setIsnew(Integer isnew) {
		this.isnew = isnew;
	}

	public String getMd5() {
		return md5;
	}

	public void setMd5(String md5) {
		this.md5 = md5;
	}

	public Integer getIotype() {
		return iotype;
	}

	public void setIotype(Integer iotype) {
		this.iotype = iotype;
	}

	public Long getVisitstamp() {
		return visitstamp;
	}

	public void setVisitstamp(Long visitstamp) {
		this.visitstamp = visitstamp;
	}

	public Long getTimelong() {
		return timelong;
	}

	public void setTimelong(Long timelong) {
		this.timelong = timelong;
	}

	public Long getSid() {
		return sid;
	}

	public void setSid(Long sid) {
		this.sid = sid;
	}

	public Long getLeagueid() {
		return leagueid;
	}

	public void setLeagueid(Long leagueid) {
		this.leagueid = leagueid;
	}

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

	@Override
	public String toString() {
		return "ShareOpen{" +
				"id=" + id +
				", path=" + path +
				", groupid=" + groupid +
				", openid=" + openid +
				", createtime=" + createtime +
				", mid=" + mid +
				", mpid=" + mpid +
				"}";
	}
}
